package com.xuhao.examai.scoring.application.services;

import com.xuhao.examai.scoring.domain.models.AnswerRecord;
import com.xuhao.examai.scoring.domain.models.Exam;
import com.xuhao.examai.scoring.domain.models.ExamRecord;
import com.xuhao.examai.scoring.domain.models.Question;
import com.xuhao.examai.scoring.infrastructure.persistence.AnswerRecordRepository;
import com.xuhao.examai.scoring.infrastructure.persistence.ExamRecordRepository;
import com.xuhao.examai.scoring.infrastructure.persistence.ExamRepository;
import com.xuhao.examai.scoring.infrastructure.persistence.QuestionRepository;
import org.springframework.stereotype.Service;
import java.util.*;
import java.util.stream.Collectors;

@Service
public class ScoreServiceImpl implements ScoreService {
	// ...existing code from your ScoreServiceImpl, 依赖注入和方法体保持不变，注意包名和依赖路径已调整...
}
